package com.macro.mall.mapper.admin;

import com.macro.mall.model.admin.BasicCollectionType;
import com.macro.mall.query.CollectionTypeQuery;

import java.util.List;

public interface BasicCollectionTypeMapper {

    int deleteByPrimaryKey(Long id);

    int insertSelective(BasicCollectionType record);

    BasicCollectionType selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BasicCollectionType record);


    /****
     * 条件分页查询采集分类
     * @param query
     * @return
     */
    List<BasicCollectionType> selectBySelective(CollectionTypeQuery query);
}
